package com.shangxian.giveithome.service;

import com.shangxian.giveithome.entity.PageableDetails;
import com.shangxian.giveithome.entity.seekhelp.*;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

@Service
public interface SeekHelpService {

    SeekHelpVO querySeekHelpDetailById(Long id);

    PageableDetails queryByUserId(Long userId, Pageable pageable);

    PageableDetails queryByMeId(Long meId, Pageable pageable);

    void create(SeekHelpDTO seekHelpDTO);

    void updateMeRemark(SeekHelpDO seekHelpDTO);

    void delete(Long id);

    void updateStatus(SeekHelpStatusDTO seekHelpStatusDTO);

    void updateSeekHelpDImg(SeekHelpDImgDTO seekHelpDImgDTO);
}
